<template>
	<view>
		<stop isBack>
			<view slot="content">岗位考核</view>
		</stop>
		<view class="pad3 bcf">
			<view class="list-style-1">
				我的岗位
			</view>
			<view class="bc13 mart5">
				<view class="pad3 flrc pos-r" v-for="item in jobs" :key="item.id" 
				@tap="goto('/pages/ciming/kpi/job_detail?id=' + item.id)">
					<view class="flex1 fwb">{{item.name}}</view>
					<view class="marr3 c01">查看详细</view>
					<view class="fa fa-angle-right"></view>
					<ripple></ripple>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				jobs:[]
			}
		},
		methods: {
			
		},
		onLoad() {
			this.$api.get('/api/me/cimingUsers',{
				_g:['user','job']
			},res=>{
				this.log(res)
				this.jobs = res.d.jobs
			})
		}
	}
</script>

<style>

</style>
